package com.gitee.fanx.retty.demo.common;

public class ServiceException extends RuntimeException {
	private int code;
	private String message;

	public ServiceException(){
	}

	public ServiceException(int code, String message){
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	@Override
	public String getMessage() {
		return message;
	}
}
